﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TestPage.aspx.cs" Inherits="cls.u_Models.TestPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
    <asp:Button ID="Button_ShowDetail" runat="server" Text="Button" OnClick="Button_ShowDetail_Click" />
    <asp:Button ID="Button_Redirect" runat="server" Text="Redirect" OnClick="Button_Redirect_Click" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="GridView_TestDropDownList" runat="server" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" OnRowCancelingEdit="GridView_TestDropDownList_RowCancelingEdit" OnRowDeleting="GridView_TestDropDownList_RowDeleting"
        OnRowEditing="GridView_TestDropDownList_RowEditing"
        OnRowDataBound="GridView_TestDropDownList_RowDataBound">
        <AlternatingRowStyle BackColor="#F7F7F7" />
        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
        <SortedAscendingCellStyle BackColor="#F4F4FD" />
        <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
        <SortedDescendingCellStyle BackColor="#D8D8F0" />
        <SortedDescendingHeaderStyle BackColor="#3E3277" />
    </asp:GridView>
    <asp:DropDownList ID="DropDownList_DDL" runat="server" Visible="False"></asp:DropDownList>
    <asp:Label ID="Label_DebugMsg" runat="server"></asp:Label>
    <%-- 
        <asp:Panel ID="Panel_ClsResp" runat="server" Visible="False">
    </asp:Panel>
    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
    --%>
    <%----------------------------------------------------------- 
         关于<!DOCTYPE>
         http://www.w3.org/QA/2002/04/valid-dtd-list.html
         
         组件Size，而不是屏幕Size
         http://blog.csdn.net/li64591505/article/details/5834099
         http://blog.csdn.net/zjlovety/article/details/6641644

         尝试jQuery的插件portamento
         http://simianstudios.com/portamento/

        ----------------------------------------------------------

        <div id="DIV_ClsResp" style="display: none; padding: 20px 100px 20px 100px; border: 1px solid #808080; background-color: #C0C0C0; position: absolute; left: expression((body.clientWidth-50)/2); top: expression((body.clientHeight-50)/2); text-align: center; width: 480px; height: 240px; margin-bottom: 40px; margin-right: 40px;">
    style="border: 1px solid #808080; right: 10px; float: right; background-color: #C0C0C0; clip: rect(100px, auto, auto, auto); top: 100px; position: fixed; z-index: 99;" --%>
    <%-- left: expression((window.screen.width-50)/2); top: expression(document.documentElement.scrollTop);  --%>
    <div id="DIV_ClsResp" style="border: 1px solid #808080; right: 10px; float: right; background-color: #C0C0C0; clip: rect(100px, auto, auto, auto); top: 100px;">
    <asp:Label ID="Label_Id" runat="server" Visible="true"></asp:Label>
    <br />
    <asp:TextBox ID="TextBox_ClsResp" runat="server" TextMode="MultiLine" Rows="5"></asp:TextBox>
    <br />
    <asp:Button ID="Button1" runat="server" Text="提交" /><asp:Button ID="Button2" runat="server" Text="放弃" />

    </div>
</asp:Content>
